<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script src="js/jquery.min.js"></script>
	<link href="css/bootstrap.min.css" rel="stylesheet" />
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
	<script src="js/layer/layer.js"></script>	
	<style>
		#biaodan {
			margin: 0 auto;
			width: 500px;
			margin-top: 50px;
		}
	</style>

	<body>
		<ol class="breadcrumb">
			<li>
				<a href="index.html">主页</a>
			</li>
			<li>
				<a href="#">个人中心</a>
			</li>
			<li>
				<a href="jobSeekerUpdate.html">修改个人信息</a>
			</li>
			<li class="active"> 
				修改个人简历
			</li>
			<li >
				<a href="jobSeekerPasswordUpdate.html">修改密码</a>
			</li>
		</ol>
		<div class="container-fluid">
			<div id="biaodan" class="form-horizontal">
				
				<div class="form-group">
					<label for="jsprovince" class="col-sm-2 control-label">意向省份</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jsprovince" placeholder="请输入意向城市">
					</div>
				</div>
				<div class="form-group">
					<label for="jscity" class="col-sm-2 control-label">意向市/区</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jscity" placeholder="请输入意向市/区">
					</div>
				</div>
				<div class="form-group">
					<label for="jspost" class="col-sm-2 control-label">意向岗位</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jspost" placeholder="请输入意向岗位">
					</div>
				</div>
				<div class="form-group">
					<label for="jsedc" class="col-sm-2 control-label">最高学历</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jsedc" placeholder="请输入最高学历">
					</div>
				</div>
				<div class="form-group">
					<label for="jsgdate" class="col-sm-2 control-label">毕业时间</label>
					<div class="col-sm-10">
						<input type="date" class="form-control" id="jsgdate">
					</div>
				</div>
				<div class="form-group">
					<label for="jsgrad" class="col-sm-2 control-label">毕业院校</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jsgrad" placeholder="请输入毕业院校">
					</div>
				</div>
				<div class="form-group">
					<label for="jsmajor" class="col-sm-2 control-label">专业技能</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jsmajor" placeholder="请输入专业">
					</div>
				</div>
				<div class="form-group">
					<label for="jshonor" class="col-sm-2 control-label">荣誉证书</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="jshonor" placeholder="请输入荣誉证书">
					</div>
				</div>
				<div class="form-group">
					<label for="jsintdt" class="col-sm-2 control-label">自我介绍</label>
					<div class="col-sm-10">
						<textarea class="form-control" id="jsintdt" placeholder="就介绍一下自己吧" rows="3"></textarea>
					
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button id="submit" class="btn btn-success">修改个人简历</button>
					</div>
				</div>
			</div>
		</div>
	</body>
<script>
	$('#submit').click(function(){
		var jobSeeker_name = sessionStorage.getItem("jobSeeker_name");
			var obj=JSON.parse(jobSeeker_name);
			$.post('jobSeekerResumeAdd.do', {
			jsid:obj.jsid,
			jsprovince: $('#jsprovince').val(),
			jscity: $('#jscity').val(),
			jspost: $('#jspost').val(),
			jsedc: $('#jsedc').val(),
			jsgdate: $('#jsgdate').val(),
			jsgrad: $('#jsgrad').val(),
			jsmajor: $('#jsmajor').val(),
			jshonor: $('#jshonor').val(),
			jsintdt: $('#jsintdt').val()
		}, function (data) {
			if (data.code == 200) {
				layer.msg(data.msg, {icon: 1, time: 2000}, function () {
					/*写了个人主页时候，跳转个人主页*/
					location.href = "index.html";
				})
			} else {
				layer.msg(data.msg);
			}
		}, "JSON");
	})
		
</script>
</html>